var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opens = _____WB$wombat$assign$function_____("opens"); if(!dbugScripts("cbsnews",["cbsnews.a2.story.js"])) { /* cbsnews.a2.story.js - packed */ var FormRecycler={Base:new Class({Implements:[Options,Events],options:{clone:false,findLocalData:$lambda({}),resetOnMove:true,resetOnHide:false},initialize:function(B,A){this.setOptions(A);this.shell=(this.options.clone)?$(B).clone():$(B);this.form=(this.shell.get("tag")=="form")?this.shell:this.shell.getElement("form");if(!this.form){return null;}this.findLocalData=this.options.findLocalData;this.form.store("mobileForm",this);this.fireEvent("onInitialize");return this;},relocateForm:function(A){this.removeLocalParams();if(this.options.resetOnMove){this.form.reset();this.fireEvent("onReset");}this.setLocalData(this.findLocalData(A));this.fireEvent("onRelocate",A);},removeLocalParams:function(){this.form.getElements("input").each(function(A){if(A.getProperty("local")){A.dispose();}});},setLocalData:function(A){if(!A||$type(A)!="object"){return null;}$each(A,function(C,B){new Element("input",{type:"hidden",name:B,value:C,local:"true"}).inject(this.form);},this);},move:function(A){A=$(A);if(!A){return false;}this.relocateForm(A);return A;},toElement:function(){return this.shell;}})};$extend(FormRecycler,{Inline:new Class({Extends:FormRecycler.Base,Implements:Chain,options:{hideFormsInParent:true,revealOptions:{},firstParent:null},initialize:function(B,A){A=$merge(this.options,A||{});this.parent(B,A);this.form.store("mobileForm",this);this.currentParent=$(this.options.firstParent)||null;this.shell.set("reveal",$merge(this.options.revealOptions,{onComplete:this.callChain.bind(this)}));return this;},relocateForm:function(A){this.parent(A);A.adopt(this.shell);this.currentParent=A;this.callChain();},move:function(A){this.clearChain();A=$(A);if(!A){return ;}if(this.currentParent==A){if(this.options.hideFormsInParent){this.hideOthers();}this.shell.get("reveal").toggle();return ;}this.chain(this.relocateForm.pass(A,this),this.show.bind(this));this.hide();},show:function(){if(this.shell.get("reveal").hiding){this.show.delay(10,this);return ;}if(this.options.hideFormsInParent){this.hideOthers();}this.shell.reveal();this.fireEvent("onShow");},hideOthers:function(){this.currentParent.getElements("form").each(function(A){try{if(A!=this.form){A.retrieve("mobileForm").toElement().dissolve();}}catch(B){dbug.log(B);}});},hide:function(){this.shell.dissolve();this.fireEvent("onHide");}}),GlobalModal:new Class({Extends:FormRecycler.Base,options:{modalOptions:{}},initialize:function(B,A){A=$merge(this.options,A||{});this.parent(B,A);try{this.modal=new GlobalModal($merge(this.options.modalOptions||{},{content:this.shell}));}catch(C){dbug.log("Modal failure: %o",C);}},move:function(A){A=this.parent(A);if(!A){return false;}this.show();},show:function(){this.modal.show();this.fireEvent("onShow");},hide:function(){this.modal.hide();this.fireEvent("onHide");}})});var CommentForm=new Class({Extends:FormRecycler.Inline,commentOptions:{submitElems:false,closeElems:false,useValidator:true,validatorOptions:{},useTextFieldCounter:true,submissionType:null},initialize:function(B,A){this.parent(B,$merge(this.commentOptions,A));try{this.validator=(this.options.useValidator)?new FormValidator(this.form,this.options.validatorOptions):false;}catch(C){dbug.log("Validator addition failed: %o",C);this.validator=false;}this.waiter=false;this.form.set("send",{onRequest:function(){if(!this.waiter){this.waiter=new Waiter(this.form);}this.waiter.start();}.bind(this),onComplete:function(){if(this.waiter){this.waiter.stop();}}.bind(this),onSuccess:this.handlePostResponse.bind(this),onFailure:this.handleFailure.bind(this)});if(this.options.useTextFieldCounter&&window.TextFieldCounter){this.textCounters=new TextFieldCounter(this.form);}if(this.options.submitElems){this.form.getElements(this.options.submitElems).addEvent("click",this.doSubmit.bind(this));}if(this.options.closeElems){this.form.getElements(this.options.closeElems).addEvent("click",this.hide.bind(this));}this.form.addEvent("submit",function(D){D.stop();this.doSubmit();}.bind(this));},doSubmit:function(){if(!UserVars.isLoggedIn()){return false;}this.form.getElements("input[type=text], textarea").each(function(A){A.set("value",A.get("value").trim());});if(this.validator&&!this.validator.validate()){return false;}this.form.send();},hide:function(){this.parent();if(this.validator){this.chain(function(){this.validator.reset();if(this.options.useTextFieldCounter){this.textCounters.resetAllCounters();}this.fireEvent("onReset");this.callChain();}.bind(this));}},handlePostResponse:function(E){this.hide();var A=(PageVars.get("siteId")==162)?UserVars.get("userName"):''+UserVars.get("userName")+"";var D=(PageVars.get("siteId")==162)?"CBS'":"CNET's";this.responseObj={"delete":{fail:"There was a problem deleting this comment, please try again.",success:"This comment has been deleted.",pending:"This comment will be deleted shortly."},rop:{fail:"There was a problem submitting this form, please try again.",success:"Your message has been submitted and will be reviewed by our staff. Thank you, "+A+", for helping us maintain "+D+" great community!",pending:"Your message will be submitted shortly and reviewed by our staff. Thank you, "+A+", for helping us maintain "+D+" great community!"},comment:{fail:"There was a problem submitting your comment, please try again.",success:"Thanks for your comment, "+A+".",pending:"Thanks for your comment, "+A+". It will be posted to our site shortly."},edit:{fail:"There was a problem updating your comment, please try again.",success:"This comment has been successfully updated.",pending:"This comment will be updated shortly."},email:{fail:"There was a problem submitting this email, please try again.",success:"Thank you, "+A+". Your email has been sent.",pending:"Thank you, "+A+". Your email will be sent shortly."}};this.thanks=new Element("div",{"class":"userReviewForm thankyou"}).inject(this.shell,"before");if(E.match("failure")){var C=this.responseObj[this.options.submissionType].fail;}else{if(E.match("pending")){var C=this.responseObj[this.options.submissionType].pending;}else{var C=this.responseObj[this.options.submissionType].success;}}var B=new Element("h2",{html:''+C+""}).inject(this.thanks);new Element("a",{"class":"closeConfirm",text:"close",events:{click:function(){this.thanks.dissolve();}.bind(this)}}).inject(B);if(E.match("success")&&this.options.submissionType=="comment"){var F=E.match(/name="assetId"\ value="(\d+)"/)[1].toInt();if(PageVars.get("siteId")!=162){new Element("a",{href:new Link("/8618-"+PageVars.get("nodeId")+"_"+PageVars.get("siteId")+"-"+PageVars.get("assetId")+".html").mergeQueryString({communityId:this.form.getElement("input[name=communityId]").get("value"),targetCommunityId:this.form.getElement("input[name=targetCommunityId]").get("value"),blogId:PageVars.get("pageNumber"),messageId:F}).get("href"),text:"Click here to view your comment","class":"readMore"}).inject(B,"after");}else{new Element("a",{href:new Link("/8618-"+PageVars.get("nodeId")+"_"+PageVars.get("siteId")+"-"+PageVars.get("assetId")+".html").mergeQueryString({assetTypeId:this.form.getElement("input[name=assetTypeId]").value,messageId:F}).get("href"),text:"Click here to view your comment","class":"readMore"}).inject(B,"after");}}this.fireEvent("onCommentSuccess",arguments);},handleFailure:function(){this.writeMessage('This action was not completed. Please try again, or notify us at our Help Center.');},writeMessage:function(A){new Element("div",{html:A}).inject(this.shell,"before");}});var CBSCarousel=new Class({Implements:[Options,Events],options:{slide$$:"li.carouselSlide",slideInterval:6000,transitionDuration:"short",startIndex:0,indicatorActiveClass:"selected",indicatorInactiveClass:"off",indicatorDisplayStart:0,rotateAction:"mouseenter",rotateActionDuration:100,autoplay:true,useIndicators:true,indicatorContainerClass:"indicators",indicator$$:null,nextButtonClass:"carouselNext",prevButtonClass:"carouselPrev",pauseOnHover:true,pauseOnBlur:true},initialize:function(A,B){A=$(A);if(A.retrieve("carousel")){return false;}this.container=A;this.container.store("carousel",this);this.setOptions(B);this.slides=this.setSlides();if(this.options.useIndicators){this.setIndicators();}this.showSlide(this.options.startIndex);this.setButtons();if(this.options.pauseOnHover&&this.options.autoplay){this.setHoverPausing();}if(this.options.pauseOnBlur&&this.options.autoplay){this.setWindowPausing();}if(this.options.autoplay){this.autoplay();}this.fireEvent("onInitialize");return this;},setHoverPausing:function(){this.setBindings();this.container.addEvents({mouseenter:this.bound.stop,mouseleave:this.bound.autoplay});this.addEvent("onActiveSelect",this.bound.clearPausing);},setWindowPausing:function(){if(!this.bound){this.setBindings();}window.addEvents({blur:this.bound.stop,focus:this.bound.autoplay});},clearPausing:function(){this.container.removeEvent("mouseenter",this.bound.stop);this.container.removeEvent("mouseleave",this.bound.autoplay);window.removeEvent("blur",this.bound.stop);window.removeEvent("focus",this.bound.autoplay);this.removeEvent("onActiveSelect",this.bound.clearPausing);},setBindings:function(){this.bound={autoplay:this.autoplay.bind(this),stop:this.stop.bind(this),clearPausing:this.clearPausing.bind(this)};},setSlides:function(){slides=this.container.getElements(this.options.slide$$);slides.each(function(A,B){A.set("tween",{duration:this.options.transitionDuration,onStart:function(){if(A.getStyle("opacity")<0.1){A.setStyle("display","block");}},onComplete:function(){if(A.getStyle("opacity")<1){A.setStyle("display","none");}}});A.setStyles({display:(B==this.options.startIndex)?"block":"none",opacity:(B==this.options.startIndex)?1:0});}.bind(this));return slides;},setIndicators:function(){this.indicators=(this.options.indicator$$)?this.container.getElements(this.options.indicator$$):this.createIndicators();this.indicators.each(function(A,B){A.addEvent(this.options.rotateAction,this.activeSelect.bind(this,B));},this);},createIndicators:function(){var C=this.options,A=new Element("ul",{"class":C.indicatorContainerClass}).inject(this.container);var D=[];for(var B=0;B=this.slides.length)?0:B+1;this.showSlide(A);this.fireEvent("onRotate",[A,B]);return this;},toElement:function(){return this.container;}});var ThumbScroller=new Class({Extends:Fx.Scroll,scrollOptions:{thumbs:".box",axis:"x",thumbContainer:null,nav:{},startIndex:0,tolerance:0},initialize:function(A,B){if($(A).retrieve("thumbscroller")){return false;}this.parent(A,$merge(this.scrollOptions,B));this.element.store("thumbscroller",this);this.element.setStyle("overflow","hidden");this.computeDimensions();this.initNav();this.toIndex(this.options.startIndex);this.lastScroll=null;this.fireEvent("onInitialize");return this;},computeDimensions:function(){this.thumbs=this.element.getElements(this.options.thumbs);this.setParentSize();this.positions=this.getLocations();return this;},isAtEnd:function(A){A=A||this.getRange();var B=A[A.length-1];return(B.index==this.thumbs.length-1&&(B.type!="partial"||B.tolerated));},isAtStart:function(A){A=A||this.getRange();var B=A[0];return(B.index==0&&(B.type!="partial"||B.tolerated));},getLocations:function(){return this.thumbs.map(function(B){var C=B.getComputedSize()[this.getDir("total")];var A=B.getPosition(B.getParent())[this.getDir("xy")];return{size:C,start:A,end:C+A};},this);},initNav:function(){$$(this.options.nav.next).addEvent("click",this.toNextScreen.bind(this));$$(this.options.nav.previous).addEvent("click",this.toPreviousScreen.bind(this));$$(this.options.nav.start).addEvent("click",this.toStart.bind(this));$$(this.options.nav.end).addEvent("click",this.toEnd.bind(this));},getDir:function(A){switch(A){case"total":if(this.options.axis=="y"){return"totalHeight";}return"totalWidth";case"dir":if(this.options.axis=="y"){return"height";}return"width";case"xy":default:if(this.options.axis=="y"){return"y";}return"x";}},getStart:function(A){if(this.options.axis=="y"){return[0,A];}return[A,0];},getStartPx:function(A){if(!A){return 0;}return this.positions[A].start-(this.positions[A].start-this.positions[A-1].end);},setParentSize:function(){var A=(this.options.thumbContainer)?this.element.getElement(this.options.thumbContainer):this.element.getElement(this.options.thumbs).getParent();var B=0;$each(this.thumbs,function(C){B+=C.getComputedSize({styles:["padding","border","margin"]})[this.getDir("total")];},this);A.setStyle(this.getDir("dir"),B);},getRange:function(E){if(isNaN(E)){E=this.element.getScroll()[this.getDir("xy")];}var D=this.element.getComputedSize({styles:["padding"]})[this.getDir("total")];var C=[];for(var A=0;AB&&C.end<=A){if(C.start>=B){return{type:"full"};}else{return{type:"partial",where:"start",tolerated:((B-C.start)<=this.options.tolerance)};}}else{if(C.start>=B&&C.startA){return{type:"full"};}}}return false;},toNextScreen:function(){var A=this.getRange();if(A.getLast().type=="partial"&&!A.getLast().tolerated&&A.length>1){this.start.run(this.getStart(this.getStartPx(A.getLast().index)),this);}else{if($(this.thumbs[A.getLast().index+1])){this.start.run(this.getStart(this.getStartPx(A.getLast().index+1)),this);}else{this.toEnd();}}this.lastScroll="next";},toPreviousScreen:function(){var A=this.getRange();var C=(A[0].type=="partial"&&!A[0].tolerated&&A.length>1)?A[0].index:A[0].index-1;if(!this.positions[C]){this.toStart();return ;}var B=this.positions[C].end-this.element.getComputedSize({styles:["padding"]})[this.getDir("total")];var E=this.getRange(B);var D=(E[0].type=="partial"&&E.length>1)?E[0].index+1:E[0].index;this.start.run(this.getStart(this.getStartPx(D)),this);this.lastScroll="previous";},toIndex:function(A){this.start.run(this.getStart(this.getStartPx(parseInt(A))),this);},toStart:function(){if(this.options.axis=="y"){this.toTop();}else{this.toLeft();}},toEnd:function(){if(this.options.axis=="y"){this.toBottom();}else{this.toRight();}}});var CBSThumbScroller=new Class({Extends:ThumbScroller,cbsOptions:{thumbs:"li.promoBox",nav:{next:".arrowRight",previous:".arrowLeft"},setArrowClasses:false,onInitialize:function(){this.addEvent("onStart",this.startEvent);},onComplete:function(){var B=this.getRange(),A;this.setArrows.run([B],this);if(!this.imagesLoaded){A=B.map(function(C){return this.thumbs[C.index];},this);this.loadImages.run(A);}}},initialize:function(C,A){this.outerShell=$(C);var B=$merge(this.cbsOptions,A);if(B.nav){$each(B.nav,function(F,E,D){D[E]=this.outerShell.getElements(F);}.bind(this));}this.parent(this.outerShell.getElement(".scrollShell"),B);},loadImages:function(){$A(arguments).each(function(A){var C=A.getElement(".assetThumb img");var B=(C)?C.getProperty("loadsrc"):null;if(C&&B){if(C.getProperty("src")!=B){C.setProperty("src",B);}}});},setArrows:function(A){if(this.options.setArrowClasses){if(this.isAtStart(A)){$$(this.options.nav.previous).removeClass("arrowsOn").addClass("arrowsOff");}else{$$(this.options.nav.previous).removeClass("arrowsOff").addClass("arrowsOn");}if(this.isAtEnd(A)){$$(this.options.nav.next).removeClass("arrowsOn").addClass("arrowsOff");}else{$$(this.options.nav.next).removeClass("arrowsOff").addClass("arrowsOn");}}else{$$(this.options.nav.previous).morph({opacity:(this.isAtStart(A))?0.3:1});$$(this.options.nav.next).morph({opacity:(this.isAtEnd(A))?0.3:1});}},startEvent:function(){this.loadImages.run(this.thumbs);this.imagesLoaded=true;this.removeEvent("onStart",this.startEvent);},initNav:function(){this.parent();$$(this.options.nav.next,this.options.nav.previous).set("morph",{duration:"short"});}});var ReactionPoll=new Class({Implements:Events,initialize:function(B,E,D,C,A){this.element=B;this.nodeId=E;this.siteId=D;this.assetId=C;this.assetTypeId=A;this.reactionList=B.getElements(".reaction");this.waiter=new Waiter(B);if(!this.cookieExists()){this.enableVoting();}else{this.reactionList.each(function(G){var F=G.getElement("span.reactionId").get("text");if(F==this.cookieExists()){this.enableSharing(G);}}.bind(this));}},enableSharing:function(B){var A=B.getElement("span.name").get("text");B.addEvent("click",function(){this.shareFacebook(A);}.bind(this));B.addClass("sharable");},enableVoting:function(){this.reactionList.each(function(A){A.addEvent("click",function(){var B=221;if(PageVars.get("siteId")==162){B=220;}CURS.Manager.checkLogin({registerHed:"Register to submit your reaction",loginHed:"Log in or connect with Facebook to submit",cval:"reactionPoll",appId:B,nextAction:function(){this.waiter.start();this.submitVote.delay(500,this,A);}.bind(this)});}.bind(this));A.addClass("votable");}.bind(this));},disableClickEvents:function(A){this.reactionList.each(function(B){B.removeEvents("click");B.removeClass("votable");B.removeClass("sharable");});},submitVote:function(D){var A=D.getElement("span.reactionId").get("text");var B=D.getElement("span.name").get("text");var E="/8682-"+this.nodeId+"_"+this.siteId+"-0.html";var C=new Request.JSON({url:E,async:false,data:{assetId:this.assetId,assetTypeId:this.assetTypeId,value:A,viewType:"json"},onComplete:function(){this.waiter.stop();}.bind(this),onSuccess:function(G){if(G.response){var F=G.response;if(F.status["$"]=="success"||F.status["$"]=="pending"){this.disableClickEvents();this.writeCookie(A);this.showResults(F);this.shareFacebook(B);this.showMessage("Your vote has been submitted. Thank you.",D);this.enableSharing(D);}else{this.showMessage("Error: There was a problem submitting your vote. Please try again.",D);}}}.bind(this),onFailure:function(F){this.showMessage("Error: There was a problem submitting your vote. Please try again.",D);}.bind(this)});C.send();},shareFacebook:function(B){var C="I found this "+B.toLowerCase()+"...";var D=new Link(location.href).mergeQueryString({jsdebug:false,refresh:false,tag:"reactionShare"}).set("hash",false).get("href");var A="";try{A=$(document).getElement("link[rel=image_src]").getProperty("href");}catch(E){A=(PageVars.get("siteId")=="162")?"https://web.archive.org/web/20110512010005/http://i.i.com.com/cnwk.1d/i/tim/2010/03/25/cbs_eye.jpg":"https://web.archive.org/web/20110512010005/http://cbsinteractive.com/images/brands_sm_logo_cnet.gif";}var F={name:decodeURIComponent(PageVars.get("title")),href:D,description:decodeURIComponent(PageVars.get("description")),media:[{type:"image",src:A,href:D}]};try{CURS.Social.fb.ensureInit(function(){FB.Connect.requireSession(function(){FB.Connect.streamPublish(C,F,null);});},true);}catch(E){CURS.Social.fb.ensureActiveSession(function(){FB.ui({method:"stream.publish",display:"dialog",message:"",attachment:F});});}},showResults:function(A){var C=0;var D={};for(var B in A.data.datum){D[A.data.datum[B]["@name"]]=A.data.datum[B]["@value"];}this.reactionList.each(function(I){var E=I.getElement("span.reactionId").get("text");var H=0;var F=0;if(D.totalVotes){C=D.totalVotes;}if(D[E]){H=D[E];}if(C>0){F=Math.round(H/C*100);}var G=new Element("span").addClass("percentage").set("text",F+"%");I.adopt(G);});},showMessage:function(C,A){var B=new StickyWin({content:C,relativeTo:A,className:"reactionPollMessage",position:"upperLeft",fadeDuration:500}).show();B.hide.delay(4000,B);},writeCookie:function(A){Cookie.write("reaction_poll_"+this.assetId,A,{domain:this.getCookieHost(),path:"/",encodeValue:false,duration:14});},getCookieHost:function(){var A=window.location.hostname.split(".");return"."+A[A.length-2]+"."+A[A.length-1];},cookieExists:function(){return Cookie.read("reaction_poll_"+this.assetId);}});var commentsForms={findMessageId:function(C){var B=null;var A=C;do{B=A.getProperty("messageId");}while(!B&&(A=A.getParent("dl")));if(!B){return false;}return{commentId:B};},findParentMessageId:function(C){var B=null;var A=C;do{B=A.getProperty("messageId");}while(!B&&(A=A.getParent("dl")));if(!B){return false;}return{parentCommentId:B};}};var initializeComments=new Class({initialize:function(){if(!$("fixedCommentBox")){return false;}$("fixedCommentBox").getElement("dl.addcommentform").setStyle("display","block");this.setUpComments();this.initLinks();},setUpComments:function(){commentsForms.reply=new CommentForm("replyArea",{findLocalData:commentsForms.findParentMessageId,resetOnHide:false,submitElems:".addcomment a",submissionType:"comment",closeElems:".cancel a",useTextFieldCounter:false,onCommentSuccess:function(I){new Jlogger({tag:"submitReply"}).ping();Cookie.write("cachebypass","true",{duration:0.01,path:"/"});try{I=JSON.decode(I);var H=this.thanks.getElement("div a");if(I.commentId&&H.get("text").contains("Click here to view")){H.setProperty("href",PageVars.getPath({pageType:"8618",pageNumber:false})+"?assetTypeId=41&messageId="+I.commentId);}}catch(J){dbug.log("Failed to ammend the reply link: %o",J);}},onRelocate:function(){if(this.form.getElement("input[name=post_fb]")){this.form.getElement("input[name=post_fb]").checked=true;}}});CURS.Manager.addEvent("onLogin",function(){if(CURS.Social.fb.isUser()){commentsForms.reply.addEvent("onCommentSuccess",function(){var M=$E("h1");var K=M.getElement("a");var J=((K)?K:M).get("text");dbug.log("Story title: "+J);dbug.log("Reply summary: "+CURS.Social.fb.getParsedText($("replyArea").getElement("textarea[name=body]").get("value"),4999,false));var H=((K)?"https://web.archive.org/web/20110512010005/http://news.cnet.com"+K.get("href"):new Link(window.location.href).mergeQueryString({jsdebug:false,tag:false}).get("href"));var N=this.thanks.getElement("a.readMore");var I=[{text:"Read this comment",href:(N.get("href").contains("http://"+document.domain))?N.get("href"):"http://"+document.domain+N.get("href")}];try{CURS.Social.fb.ensureInit(function(){FB.Connect.streamPublish("",{name:J,href:H,caption:"{*actor*} replied to a CBS News member's comment on this story.",description:CURS.Social.fb.getParsedText($("replyArea").getElement("textarea[name=body]").get("value"),4999,false)},I);},true);}catch(L){CURS.Social.fb.ensureActiveSession(function(){FB.ui({method:"stream.publish",display:"dialog",message:"",attachment:{name:J,href:H,caption:"{*actor*} replied to a CBS News member's comment on this story.",description:CURS.Social.fb.getParsedText($("replyArea").getElement("textarea[name=body]").get("value"),4999,false)},action_links:I,user_message_prompt:""});});}});}});commentsForms.offensive=new CommentForm("offensiveArea",{findLocalData:commentsForms.findMessageId,resetOnHide:false,submitElems:".submit.send a.button",submissionType:"rop",closeElems:".cancel a",useTextFieldCounter:false,onRelocate:function(){var I=this.form.getElement("input[name=permalink]");var H=new Link(I.get("value")).mergeQueryString({messageId:this.form.getElement("input[name=commentId]").get("value")});H=H.get("href").replace("http://"+document.domain,"");I.set("value",H);},onCommentSuccess:function(){new Jlogger({tag:"submitOffensive"}).ping();}});commentsForms.emailAFriend=new CommentForm("emailAFriendArea",{findLocalData:commentsForms.findMessageId,resetOnHide:false,submissionType:"email",submitElems:".submit.send a.button",closeElems:".cancel a",useTextFieldCounter:false,onRelocate:function(){var I=this.form.getElement("input[name=permalink]");var H=new Link(I.get("value")).mergeQueryString({messageId:this.form.getElement("input[name=commentId]").get("value")});H=H.get("href").replace("http://"+document.domain,"");I.set("value",H);},onCommentSuccess:function(){new Jlogger({tag:"emailComment"}).ping();}});var C=function(){commentsForms.newComment=new CommentForm("newCommentForm",{submitElems:".submit.addcomment a.button",clone:false,submissionType:"comment",useTextFieldCounter:false,onCommentSuccess:function(K){Cookie.write("cachebypass","true",{duration:0.01,path:"/",domain:CURS.Manager.getCookieHost()});new Jlogger({tag:"submitComment"}).ping();var J="opt_out";if($("newCommentForm").getElement("#subscribeComments").checked){J="opt_in";}if(typeof abvar=="undefined"){abvar="";}new Jlogger({ctype:"comment_opt",cval:J,tag:abvar}).ping();try{this.thanks.inject($("fixedCommentBox"),"before");$("fixedCommentBox").setStyle("display","none");K=JSON.decode(K);var I=this.thanks.getElement("div a");if(K.commentId&&I.get("text").contains("Click here to view")){I.setProperty("href",PageVars.getPath({pageType:"8618",pageNumber:false})+"?assetTypeId=41&messageId="+K.commentId);}}catch(L){dbug.log("Thanks replacement fail: %o",L);}}});if(CURS.Social.fb.isUser()){commentsForms.newComment.addEvent("onCommentSuccess",function(){var N=$E("h1");var L=N.getElement("a");var K=((L)?L:N).get("text");var I=((L)?"https://web.archive.org/web/20110512010005/http://news.cnet.com"+L.get("href"):new Link(window.location.href).mergeQueryString({jsdebug:false,tag:false}).get("href"));var O=this.thanks.getElement("a.readMore");dbug.log("Story title: "+K);dbug.log("Comment summary: "+CURS.Social.fb.getParsedText($("newCommentForm").getElement("textarea[name=body]").get("value"),4999,false));var J=[{text:"Read this comment",href:(O.get("href").contains("http://"+document.domain))?O.get("href"):"http://"+document.domain+O.get("href")}];try{CURS.Social.fb.ensureInit(function(){FB.Connect.streamPublish("",{name:K,href:I,caption:"{*actor*} commented on this story on CBS News.",description:CURS.Social.fb.getParsedText($("newCommentForm").getElement("textarea[name=body]").get("value"),4999,false)},J);},true);}catch(M){CURS.Social.fb.ensureActiveSession(function(){FB.ui({method:"stream.publish",display:"dialog",message:"",attachment:{name:K,href:I,caption:"{*actor*} replied to a CBS News member's comment on this story.",description:CURS.Social.fb.getParsedText($("newCommentForm").getElement("textarea[name=body]").get("value"),4999,false)},action_links:J,user_message_prompt:""});});}});}var H=commentsForms.newComment.form.getElement("input[name=body]");if(H){H.addClass("maxLength").setProperty("validatorprops","{minLength:2, maxLength: 4999}");}};var G=function(K){var J=" to post a comment.";J+=' OR';J+="Connect with Facebook";K=K||J;var H=$E("dd.invite")||(new Element("dd",{"class":"status invite",html:'

'}).inject($("fixedCommentBox").getElement(".addcommentform dt.hed"),"after"));var I=H.getElement("p.message");I.empty();I.set("html",K);D(I);};var B=function(){var H=$("fixedCommentBox").getElement("dd.invite");if(!$("fixedCommentBox").getElement("dd.welcome")){var I=new Element("dd",{"class":"status welcome",html:'

You are logged in as . Please leave a comment.'});if(H){I.replaces(H);}else{I.inject($("fixedCommentBox").getElement(".addcommentform dt.hed"),"after");}}CURS.Manager.writeUserNames(I);};var D=function(H){if(!E){return false;}E=E.filter(function(J){return !!$(J);});var I=$(H).getElements("a");I=I.filter(function(J){return !E.contains(J);});I.addEvent("click",F);E.combine(I);};G();var A=function(){if(!UserVars.isLoggedIn()){G();}else{if(!UserVars.hasFullAccess()){G("Your account is not yet confirmed. Click here to confirm your account.");}else{if(!$chk(UserVars.get("userName"))){G("You'll need a CBS News username in order to submit a review. Click here to create a username.");}else{if(!$chk(UserVars.get("postalCode"))){G("We require a postal code for your account in order to submit a comment. Click here to enter a postal code.");}else{B();if(!commentsForms.newComment){C();}}}}}};CURS.Manager.addEvent("onLogin",function(){A();CURS.Manager.addEvent("onStateChange",function(){A();});});var E=$("fixedCommentBox").getElements(".status a.login, #new-body, #subComment");var F=function(H){var I={registerHed:"Join CBS News to comment on this story",loginHed:"Log in to CBS News to comment on this story",appId:"189",nextAction:function(){if(commentsForms.newComment){E.removeEvent("click",F);CURS.Manager.removeEvents("onStateChange");}}};CURS.Manager.checkLogin(I);};E.addEvent("click",F);window.addEvent("domready",function(){if(!UserVars.isLoggedIn()){var H;if((dbug.enabled||Browser.qs.jsdebug)&&CBSi.jsdebug){if(CBSi.jsdebug=="true"){H="https://web.archive.org/web/20110512010005/http://publish.cnet.com:8100/html/rb/js/tron/cbsnews/oreo.a2.cbsnews.login.js";}else{H="https://web.archive.org/web/20110512010005/http://publish.cnet.com:8100/html/rb/js/~dev/"+CBSi.jsdebug+"/cbsnews/oreo.a2.cbsnews.login.js";}}else{H="https://web.archive.org/web/20110512010005/http://i.i.com.com/cnwk.1d/html/rb/js/tron/cbsnews/oreo.a2.cbsnews.login.compressed.js";}if(!CURS.Process){new Asset.javascript(H,{id:"oreoLogin",onload:function(){CURS.Social.fb.init();$$(".connect2fbButton").addEvent("click",CURS.Social.fb.triggerLogin.pass(CURS.Social.fb.startSession));}});}else{CURS.Social.fb.init();$$(".connect2fbButton").addEvent("click",CURS.Social.fb.triggerLogin.pass(CURS.Social.fb.startSession));}}});},initLinks:function(A){A=$(A)||$(document.body).getElement(".userComments");A.getElements("a.reply").addEvent("click",function(B){CURS.Manager.checkLogin({registerHed:"Join CBS News to reply to this comment",loginHed:"Log in to CBS News to reply to this comment",appId:"189",nextAction:function(){commentsForms.reply.move($(B.target).getParent("dl").getElement(".toolstretch"));}});});A.getElements("a.repo").addEvent("click",function(B){CURS.Manager.checkLogin({registerHed:"Join CBS News to report this comment",loginHed:"Log in to CBS News to report to this comment",appId:"189",nextAction:function(){commentsForms.offensive.move($(B.target).getParent("dl").getElement(".toolstretch"));}});});A.getElements("a.mail").addEvent("click",function(B){CURS.Manager.checkLogin({registerHed:"Join CBS News to e-mail this comment to a friend",loginHed:"Log in to CBS News to e-mail this comment to a friend",appId:"189",nextAction:function(){commentsForms.emailAFriend.move($(B.target).getParent("dl").getElement(".toolstretch"));}});});this.initLike();},initLike:function(){$$(".userComments a.like, .userComments a.unlike").addEvent("click",function(A){this.likeWaiter=new Waiter(A.target,{baseHref:"https://web.archive.org/web/20110512010005/http://i.i.com.com/cnwk.1d/i/cbs/",img:{src:"commentsLikeLoader.gif",styles:{width:16,height:16,background:"#EDEDED"}},layer:{styles:{background:"#EDEDED"}}});CURS.Manager.checkLogin({registerHed:"Join CBSNews.com to like this comment",loginHed:"Log in to CBSNews.com to like this comment",appId:220,cval:"assetrating",nextAction:function(){this.likeWaiter.start();this.sendLikeUnlikeRequest(A.target);}.bind(this)});}.bind(this));},sendLikeUnlikeRequest:function(B){var A=(B.hasClass("like"))?"8679":"8680";if(!B.hasClass("likethankyou")){new Request.JSON({url:"/"+A+"-4_"+PageVars.get("siteId")+"-0.html",data:{assetId:(B.getProperty("assetId"))?B.getProperty("assetId"):null,assetTypeId:77,viewType:"json",assetVoteId:(B.hasClass("like"))?null:B.getProperty("assetVoteId")},onSuccess:function(E){if(E){E=E.response;if(E.status["$"]=="success"){new Jlogger({tag:(B.hasClass("like"))?"likeComment%":"unlikeComment%"}).ping();var F;E.data.datum.each(function(H){if(H["@name"]=="assetTypeId"){F=H["@value"];}if(H["@name"]=="assetVoteId"){assetVoteId=H["@value"];}});if(!B.getProperty("assetVoteId")){B.setProperty("assetVoteId",F);}B.set("text","Thank you!");B.addClass("likethankyou");this.likeWaiter.stop();this.setVoteNum(B,(B.hasClass("like"))?"like":"unlike");this.toggleLike.delay(3000,this,B);}else{if(E.errors.error["@name"]=="ALREADY_VOTED"){var C=new StickyWinFx({content:"You have already liked this comment",relativeTo:B,className:"alreadyVotedMsg",position:"upperLeft",fadeDuration:500}).show();this.toggleLike(B);this.likeWaiter.stop();C.hide.delay(4000,C);}else{if(E.errors.error["@name"]=="REMOVE_PROBLEM"){var D=new StickyWinFx({content:"Error: There was a problem removing your vote. Please try again.",relativeTo:B,className:"removeProblemMsg",position:"upperLeft",fadeDuration:500}).show();this.likeWaiter.stop();D.hide.delay(4000,D);}else{if(E.errors.error["@name"]=="SUBMIT_PROBLEM"){var G=new StickyWinFx({content:"Error: There was a problem submitting your vote. Please try again.",relativeTo:B,className:"submitProblemMsg",position:"upperLeft",fadeDuration:500}).show();this.likeWaiter.stop();G.hide.delay(4000,G);}else{if(E.errors.error["@name"]=="NOT_OWNER"){var D=new StickyWinFx({content:"Error: You do not have a vote registered for this comment.",relativeTo:B,className:"removeProblemMsg",position:"upperLeft",fadeDuration:500}).show();this.likeWaiter.stop();this.toggleLike(B);D.hide.delay(4000,D);}}}}}}}.bind(this)}).send();}else{this.likeWaiter.stop();}},toggleLike:function(A){A.removeClass("likethankyou");if(A.hasClass("like")){A.set("text","Unlike this");}else{A.set("text","Like this");}A.toggleClass("like");A.toggleClass("unlike");},setVoteNum:function(C,B){if(C.getParent().getElement("span.liked")){var E=C.getParent().getElement("span.liked");var A=E.getElement("b").get("text").toInt();var D;if(B=="like"){if(A==1){D="people like";}else{D="people";}A+=1;}else{if(A==1){D="people like";}else{if(A>1){D="person likes";}}A-=1;}E.set("html",""+A+" "+D+" this comment");}else{if(B="like"){new Element("span",{"class":"liked"}).set("html","1 person likes this comment").inject(C.getParent(),"bottom");}}}});window.addEvent("domready",function(){commentsForms.initialize=new initializeComments();});var StoryPhotoCarousel=new Class({initialize:function(){return new CBSCarousel("cbsCarousel",{autoplay:false,indicatorActiveClass:"active",rotateAction:"click",onShowSlide:function(A){this.container.morph({height:this.slides[A].getSize().y});}});}});window.addEvent("domready",function(){$$(".sideScroller").each(function(A){if(!A.retrieve("thumbscroller")){new CBSThumbScroller(A);}});if(!window.showTab&&$("Country")){$("CountryTabs").getElements("a").each(function(A){A.setProperty("href","javascript:void(0);");A.removeProperty("onclick");});$("CountryTabs").getElements("li").addEvent("click",function(){$("CountryTabs").getElements("li").removeClass("active");this.addClass("active");var A=this.getProperty("id").split("-tab")[0];$("CountryTabsContent").getElements(".tabPanel").setStyle("display","none");$(A).setStyle("display","block");$("CountryTabsContent").setStyle("height","auto");});}});var abvar=Cookie.read("test_group")||"NOCOOKIE";window.addEvent("domready",function(){new JlScroller({tag:abvar,ctype:"cbs_scroller",cval:"bottomMPU",fireOnce:true,event:"scrollTo",scrollTo:{top:"bottomMPU"}});new JlScroller({tag:abvar,ctype:"cbs_scroller",cval:"story_bottom",fireOnce:true,event:"scrollTo",scrollTo:{top:$$(".cbsnewsThreeColStoryRelatedArea")[0]}});new JlScroller({tag:abvar,ctype:"cbs_scroller",cval:"footer",fireOnce:true,event:"scrollTo",scrollTo:{top:"cbsFooterWrap"}});new Jlogger({tag:abvar,ctype:"cbs_scroller",cval:"scroll",fireOnce:true,element:window,event:"scroll"});new JlScroller({tag:abvar,ctype:"cbs_scroller",cval:"reenagagement_bottom",fireOnce:true,event:"scrollTo",scrollTo:{bottom:$$(".cbsnewsTwoColStoryRelatedArea")[0]}});if($("aolNewsModule")){$("aolNewsModule").addEvent("click",function(){new Jlogger({tag:"aol",ctype:"link_click",cval:"link",element:$$(".newsCat"),event:"click"}).ping();});}});if(!$defined(Element.cbsNodeIndex)){Element.implement("cbsNodeIndex",function(){var A=0;elem=this;while(elem.previousSibling){if(elem.previousSibling.nodeName=="#text"){elem=elem.previousSibling;}else{A++;elem=elem.previousSibling;}}return A;});}window.addEvent("domready",function(){if($("storyStrip")){new Jlogger({tag:"storyStrip",ctype:"button",cval:"prev",element:$("storyStrip").getElement(".arrowLeft"),event:"click"});new Jlogger({tag:"storyStrip",ctype:"button",cval:"next",element:$("storyStrip").getElement(".arrowRight"),event:"click"});$("storyStrip").getElements("a").each(function(B){if(B.getParent(".promoBox")){var A=B.getParent(".promoBox").cbsNodeIndex()+1;A=Math.ceil(A/3);new Jlogger({tag:"storyStrip",ctype:"action;pane",cval:"click;"+A,element:B,event:"click"});}});}});window.addEvent("domready",function(){try{$$(".reactionPoll").each(function(B){new ReactionPoll(B,PageVars.get("nodeId"),PageVars.get("siteId"),PageVars.get("assetId"),1);});}catch(A){dbug.log("ReactionPoll implementation failure: %o",A);}if($$("webMDModuleWrap")){new Jlogger({tag:"webmd",ctype:"module_impression",cval:"module_b",element:$$("webMDModuleWrap").getElement(".webmdContent")}).ping();$$(".webMDModuleWrap .webmdContent li a").addEvent("click",function(){new Jlogger({tag:"webmd",ctype:"module_b",cval:"module_click:quiz"}).ping();});}});var UserSearchModule=new Class({Implements:[Options,Events],options:{apiUrl:"https://web.archive.org/web/20110512010005/http://api.cnet.com/rest/v1.1/cbsNewsSearch"},killBit:false,searchQuery:null,search:false,initialize:function(A){this.setOptions(A);this.getSearchQuery();this.abTest=Cookie.read("CBSNewsSearchTest")||"NONE";if(this.abTest=="NONE"||this.abTest=="CONTROL"||this.search==false){this.killBit=true;return ;}this.setBoxType();this.loaded=false;this.hasContent=false;if($defined(this.searchQuery)){this.fetchResults();}},getSearchQuery:function(){var A=new SearchQuery();var B=A.getQuery();if(B){this.searchQuery=decodeURIComponent(B.replace(/\+/g," "));this.search=true;}},getParams:function(){var A={};A.iod="none";A.start=0;A.limit=3;A.orderBy="relevance~desc";A.partTag="cbsnews-userSearchModule";A.queryType="cbsSearch";A.viewType="json";A.callback="UserSearchModule.requests."+this.requestName+".loadResponse";A.query=this.searchQuery;return A;},fetchResults:function(){this.addRequest();this.script=new Element("script",{type:"text/javascript",src:this.getQuery()}).inject(document.head);},getQuery:function(){var A=new Hash($merge(this.getParams(),{}||{})).toQueryString();return this.options.apiUrl+"?"+A;},addRequest:function(){var A=UserSearchModule.requests.push(this)-1;this.requestName=this.options.requestName||"request_"+A;UserSearchModule.requests[this.requestName]=this;},loadResponse:function(A){this.loaded=true;var B;try{if(this.script){this.script.dispose();}}catch(C){dbug.log("Script disposal issue: %o",C);}if(!A.CNETResponse.UnifiedContentEntries.UnifiedContentEntry||A.CNETResponse.UnifiedContentEntries.UnifiedContentEntry.length<1){return false;}this.numFound=A.CNETResponse.UnifiedContentEntries["@numFound"];this.responses=A.CNETResponse.UnifiedContentEntries.UnifiedContentEntry;this.hasContent=true;this.buildBox();},buildBox:function(){var B=new Hash();B.set("resultsList",this.buildList());B.set("header","

Not What You Were Looking For?

");B.set("searchBox",'
'+this.googleLogo()+"
");var A=this.getBox();$each(B,function(E,D,C){E=E.replace("%%%QUERY%%%",this.stringSafe(this.searchQuery));A=A.replace("%%%"+D+"%%%",E);}.bind(this));this.box=A;},stringSafe:function(A){if(A.length>0){A=A.replace("<","<");A=A.replace(">",">");}return A;},setBoxType:function(){if(this.abTest=="TEST2"&&PageVars.get("pageType")==2100){this.boxType="dsGoogleModuleVert";}else{this.boxType="dsGoogleModuleHoriz";}},getBox:function(A){if(this.boxType=="dsGoogleModuleHoriz"){return'
%%%resultsList%%%
%%%header%%%

Try a new Google Web Search

%%%searchBox%%%
';}return'
%%%header%%% %%%resultsList%%%

Or try a new Google Web Search

%%%searchBox%%%
';},googleLogo:function(){var C=1;var A=29;var B=59;if(this.boxType=="dsGoogleModuleHoriz"){C=2;A=21;B=95;}return'';},loadBox:function(){if(this.loaded&&!this.hasContent||this.killBit){dbug.log("Dyn GOOG Search Module: No results or KillBit.");return ;}if(!this.loaded){dbug.log("Dyn Goog Search Module: Checking Status");setTimeout(function(){this.loadBox();}.bind(this),100);return ;}var B=$(this.boxType);dbug.log("Dyn Goog Search Module: Results loading");B.hide();B.set("html",this.box);if(!Browser.Engine.trident){B.reveal();}else{B.setStyles({display:"block",position:"relative"});}var A="horizontal";if(this.boxType=="dsGoogleModuleVert"){A="vertical";}new Jlogger({tag:"dynSearchModule",ctype:"testImpression",cval:A}).ping();},buildList:function(){var B='

More results for "%%%QUERY%%%"

";var A=new Hash($merge({query:this.searchQuery},{}||{})).toQueryString();if(this.numFound>3){B+='

View More

';}return B;}});UserSearchModule.requests=[];var usm=new UserSearchModule();window.addEvent("load",function(){$$("cbsAudio").each(function(H){var J=H.getAttribute("src");var I=H.innerHTML;var E=new Element("div",{id:"cbsAudioPlayer"});var B=new Element("div",{"class":"cbsAudioPlayerInner"});var D=new Element("div",{id:"cbsaudio"});var G=new Element("p",{text:H.getAttribute("title")+" | "});var A=new Element("a",{text:"Download MP3",href:"https://web.archive.org/web/20110512010005/http://www.cbsnews.com/common/includes/podcast.php?file="+J});var C=new Element("span",{text:"LISTEN"});E.injectBefore(H);B.injectInside(E);G.injectInside(B);A.injectInside(G);C.injectAfter(G);D.injectAfter(C);var K="https://web.archive.org/web/20110512010005/http://i.i.com.com/cnwk.1d/av/n/emff.swf?src="+J;var F=new SWFObject(K,"cbsAudioPlayer","150","40","9","#FFFFFF");F.addParam("quality","high");F.addParam("movie",K);F.write("cbsaudio");});}); } } /* FILE ARCHIVED ON 01:00:05 May 12, 2011 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 09:32:23 May 03, 2026. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.7 exclusion.robots: 0.067 exclusion.robots.policy: 0.056 esindex: 0.012 cdx.remote: 96.563 LoadShardBlock: 108.251 (3) PetaboxLoader3.resolve: 168.363 (4) PetaboxLoader3.datanode: 84.539 (5) load_resource: 252.908 (2) */